package com.wuercloud.http.json.pojo;

/**
 * Created by JiangWL on 2017/2/15.
 */
public class DoorInfo extends BizInfo{
    /**
     * 信息内容
     * 【可为空。一般不为空】
     */
    private String msg;
    /**
     * 连接地址。如微信
     * 【可为空】
     */
    private String link;
    /**
     * 短信通道标识
     */
    private int channel;
    /**
     * 发送时间
     * 【必填】
     */
    private String sendTime;
    /**
     * 刷卡时间
     *
     */
    private String cardTime;
    /**
     * 失效时间
     * 【可为空】
     */
    private String deadTime;
    /**
     * 来源学校ID
     */
    private long fromSchId;
    /**
     * 来源学校名称
     */
    private String fromSchName;
    /**
     * 来源班级ID
     */
    private long fromClassId;
    /**
     * 来源班级名称
     */
    private String fromClassName;
    /**
     * 发送人ID
     */
    private long senderId;
    /**
     * 发送人姓名
     */
    private String sender;
    /**
     * 是否置顶
     */
    private char isTop;
    /**
     * 置顶到期时间
     */
    private String topPassTime;
    /**
     * 接收人ID
     */
    private long recverId;
    /**
     * 接收人姓名
     */
    private String recverName;
    /**
     * 接收人电话
     */
    private String recvPhone;
    /**
     * 接收人微信号
     */
    private String recvWechat;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public int getChannel() {
        return channel;
    }

    public void setChannel(int channel) {
        this.channel = channel;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getCardTime() {
        return cardTime;
    }

    public void setCardTime(String cardTime) {
        this.cardTime = cardTime;
    }

    public String getDeadTime() {
        return deadTime;
    }

    public void setDeadTime(String deadTime) {
        this.deadTime = deadTime;
    }

    public long getFromSchId() {
        return fromSchId;
    }

    public void setFromSchId(long fromSchId) {
        this.fromSchId = fromSchId;
    }

    public String getFromSchName() {
        return fromSchName;
    }

    public void setFromSchName(String fromSchName) {
        this.fromSchName = fromSchName;
    }

    public long getFromClassId() {
        return fromClassId;
    }

    public void setFromClassId(long fromClassId) {
        this.fromClassId = fromClassId;
    }

    public String getFromClassName() {
        return fromClassName;
    }

    public void setFromClassName(String fromClassName) {
        this.fromClassName = fromClassName;
    }

    public long getSenderId() {
        return senderId;
    }

    public void setSenderId(long senderId) {
        this.senderId = senderId;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public char getIsTop() {
        return isTop;
    }

    public void setIsTop(char isTop) {
        this.isTop = isTop;
    }

    public String getTopPassTime() {
        return topPassTime;
    }

    public void setTopPassTime(String topPassTime) {
        this.topPassTime = topPassTime;
    }

    public long getRecverId() {
        return recverId;
    }

    public void setRecverId(long recverId) {
        this.recverId = recverId;
    }

    public String getRecverName() {
        return recverName;
    }

    public void setRecverName(String recverName) {
        this.recverName = recverName;
    }

    public String getRecvPhone() {
        return recvPhone;
    }

    public void setRecvPhone(String recvPhone) {
        this.recvPhone = recvPhone;
    }

    public String getRecvWechat() {
        return recvWechat;
    }

    public void setRecvWechat(String recvWechat) {
        this.recvWechat = recvWechat;
    }

    public DoorInfo(long infoId, String msg, String link, int channel, String sendTime, String cardTime, String deadTime, long fromSchId, String fromSchName, long fromClassId, String fromClassName, long senderId, String sender, char isTop, String topPassTime, long recverId, String recverName, String recvPhone, String recvWechat) {
        super(infoId);
        this.msg = msg;
        this.link = link;
        this.channel = channel;
        this.sendTime = sendTime;
        this.cardTime = cardTime;
        this.deadTime = deadTime;
        this.fromSchId = fromSchId;
        this.fromSchName = fromSchName;
        this.fromClassId = fromClassId;
        this.fromClassName = fromClassName;
        this.senderId = senderId;
        this.sender = sender;
        this.isTop = isTop;
        this.topPassTime = topPassTime;
        this.recverId = recverId;
        this.recverName = recverName;
        this.recvPhone = recvPhone;
        this.recvWechat = recvWechat;
    }

    public DoorInfo() {
        super();
    }
}
